<?php
$names = array('Andrew','John','Peter','Nastin','Bill');
$output = preg_grep('/^[0-9]/', $names);
print_r( $output );
